import { createApp } from 'vue'
import router from './router'
import App from './App.vue'
import store from './store'
// 通用字体
import 'vfonts/Lato.css'
// 等宽字体
import 'vfonts/FiraCode.css'

import {
  // create naive ui
  create,
  // component
  NButton,
  NAvatar,
  NIcon,
  NForm,
  NFormItem,
  NInput,
  NMessageProvider,
  NEmpty,
  NScrollbar,
  NDivider,
  NBadge
} from 'naive-ui'

const naive = create({
  components: [
    NButton,
    NAvatar,
    NIcon,
    NForm,
    NFormItem,
    NInput,
    NMessageProvider,
    NEmpty,
    NScrollbar,
    NDivider,
    NBadge
  ]
})

createApp(App).use(router).use(store).use(naive).mount('#app')
